#pragma once
#include "rectangle.h"

class IRuleption
{
public:
	
	/**
	 * Returns true if the given IF part (as a Neighborhood vector) is the same as the IF part in this Ruletangle object.
	 * i.e. if the rule of the ruletangle applies to this sample.
	 */
	virtual bool applies (const vector<Neighborhood*>& nbr) const = 0;

	/**
	 * Returns the number of minor rectangles.
	 */
	virtual int getMinorRectNum () const = 0;

	///** Returns the minor rectangle whose index is given.*/
	//virtual void getMinorRect (int index, void* target) const = 0;

	/** Prints the content of the object to the screen. */
	virtual void print(void) const = 0;
};